/*  
Theme Name: hihi2
Theme URI: https://gitee.com/xiongzaixxx/hihi2
Description:  free wordpress theme
Version: 1.0
Author: xiongzai
Author URI: https://gitee.com/xiongzaixxx
Tags: free wordpress theme
*/

@charset "utf-8";

:root {
	/* "Microsoft Yahei", sans-serif，tahoma; */
	--txt-font: system-ui, -apple-system, Arial, sans-serif;
	--color-primary: #FFD337;
	--color-white: hsla(0, 0%, 41.6%, .7);
	--color-lightwhite: #f5f5f5;
	--color-black: #212529;

	--txt-size-normal: 1.2rem;
	--txt-size-little: .8rem;
	--txt-size-llittle: .6em;
	--txt-size-big: 1.2rem;
	--txt-size-bbig: 1.4rem;
	--border-radius: .4rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	text-decoration: none;
	list-style: none;
	cursor: default;
	font-family: var(--txt-font);
	font-size: var(--txt-size-normal);
	border-spacing: 0;
	font-style: normal;
}

/*可选*/
html,
body {
	width: 100%;
	height: 100%;
	font-size: 1rem;
	margin: 0 !important;
}

/*行内块元素*/
input,
button,
img {
	border: 0 none;
	outline-style: none;
	max-width: 100%;
	max-height: 100%;
	display: block;
	text-align: right;
	object-fit: cover;
}

.btn {
	border: 1px solid #D9D9D9;
	border-radius: var(--border-radius);
	padding: .4rem .8rem;
}

.lrcenter {
	margin: 0 auto;
}

/* 使用伪元素清除浮动 */
.clearfix::before,
.clearfix::after {
	content: "";
	height: 0;
	line-height: 0;
	display: block;
	visibility: none;
	clear: both;
}

.clearfix {
	clear: both;
}

span,
a {
	display: block;
	color: var(--color-black);
	text-decoration: none;
}

a:hover {
	text-decoration: none;
	cursor: pointer;
}

.bshadow {
	box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px 0px;
}

.nowrap {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nowrap2 {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	display: -moz-box;
	-moz-line-clamp: 2;
	-moz-box-orient: vertical;
	word-wrap: break-word;
	word-break: break-all;
	white-space: normal;
	max-height: 3rem;
}

.emp {
	border: none !important;
	height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

;

.hide {
	display: none !important;
}

.bd {
	border: 1px solid red
}

.pd {
	padding: .4rem;
}

.pdlr {
	padding: 0 .4rem;
}

.pdtb {
	padding: .4rem 0;
}

.brds {
	border-radius: var(--border-radius)
}

.ltxt {
	font-size: var(--txt-size-little);
}

.lltxt {
	font-size: var(--txt-size-llittle);
}

.btxt {
	font-size: var(--txt-size-big);
}

.bbtxt {
	font-size: var(--txt-size-bbig);
}

.textl {
	text-align: left;
}

.textr {
	text-align: right;
}

::placeholder {
	color: #B2B2B2;
}

::-webkit-scrollbar {
	display: none;
}

.fxwrap {
	flex-wrap: wrap;
}

.fxnowrap {
	flex-wrap: nowrap;
	overflow-x: scroll;
}

.fxnone {
	flex: none
}

.fxauto {
	flex: auto
}

.sticky {
	position: sticky;
	top: 0;
	z-index: 666;
}

div.mask {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 9999;
	left: 0;
	right: 0;
	background-color: rgba(0, 0, 0, 0.4);
	display: none;
	transition: display .2s, opacity 1.2s;
}

div.mask_active {
	display: block;
}

div.shower {
	width: 100%;
	min-width: 20rem;
	z-index: 666666;
	position: fixed;
	/* top:-50rem; */
	transition: opacity 1s, bottom .2s, top .2s;
}


.fx {
	display: flex;
}

.fxrow {
	flex-direction: row;
}

.fxrowrev {
	flex-direction: row-reverse;
}

.fxcolumn {
	flex-direction: column;
}

.fxcolumnrev {
	flex-direction: column;
}

.fxnowrap {
	flex-wrap: nowrap;
}

.fx_jc_start {
	justify-content: left;
}

.fx_jc_end {
	justify-content: end;
}

.fx_jc_between {
	justify-content: space-between;
}

.fx_jc_around {
	justify-content: space-around;
}

.fx_jc_center {
	justify-content: center;
}

.fx_ai_start {
	align-items: flex-start;
}

.fx_ai_end {
	align-items: flex-end;
}

.fx_ai_center {
	align-items: center;
}

.fx_ai_baseline {
	align-items: baseline;
}

.fx_ai_stretch {
	align-items: stretch;
}

.fx_ai_baseline {
	align-items: baseline;
}

body>div.main {
	background-color: white;
	min-height: 100%;
	min-width: 20rem;
}

div.logo {
	width: 100%;
	height: 6rem;
	background-color: var(--color-primary);
}
div.logo>div>a>img{
	cursor: pointer;
}

div.footer {
	background-color: #5A5858;
	justify-content: space-between;
}

.gap {
	gap: .4rem;
}

div.bg {}



div.bg>div.bcontent {
	height: 100%;
	padding: .4rem;
	width: 90%;
	margin: 0 auto;
	max-width: 1320px;
	min-width: 20rem;
	
}
div.bg>div.bcontent > a{
	font-size: 2rem;
	line-height: 4rem;	
}

div.navbg {
	background-color: #F9F9F9;
	height: 4rem;
}

div.menuimg {
	display: flex;
	align-items: center;
}

div.menuimg>img {
	width: 2rem;
	height: 2rem;
	opacity: .6;
	display: none;
}

div.navbg>div>a {
	border: 1px solid #D9D9D9;
	box-shadow: 0 4px 4px -1px rgb(12 12 13 / .1), 0 4px 4px -1px rgb(12 12 13 / .05);
	background: #FFF;
	color: #5A5858;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: var(--border-radius);
	display: block;
	margin-right: .8rem;
	padding: 11px;
}

div.navbg>div>a>img {
	height: 18px;
	width: 18px;
}

img.pdimg {
	background-color: var(--color-primary);
	padding: .4rem;
}

div.navbg>div>a:hover {
	transition: all .2s;
	box-shadow: 0 4px 4px -1px rgb(12 12 13 / .1) inset, 0 4px 4px -1px rgb(12 12 13 / .05) inset
}

form.search_form {
	height: 40px;
	margin-right: 2rem;
}

input[type="text"].search-input {
	border-bottom-left-radius: var(--border-radius);
	border-top-left-radius: var(--border-radius);
	border: 1px solid #D9D9D9;
	border-right: none;
	padding-right: .8rem;
}

form.search_form>button {
	border-bottom-right-radius: var(--border-radius);
	border-top-right-radius: var(--border-radius);
	border: 1px solid #D9D9D9;
	border-left: none;
	width: 2rem;
}


/* --------横向菜单样式 start-------- */
ul.menu li {
	padding: 0 2rem;
	line-height: 3rem;
	position: relative;
	text-align: right;
}

ul.menu li:has(>ul.children)::after {
	content: '';
	position: absolute;
	left: 1rem;
	top: 1.3rem;
	transform: rotate(1turn);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 5px 5px 0;
	border-color: transparent #000 transparent transparent;
}

ul.menu li>ul {
	color: black;
}

ul.menu a {
	font-size: var(--txt-size-big);
}

ul.menu li ul {
	display: none;
	position: absolute;
	top: 0;
	right: 100%;
	border: 1px solid #eee;
}

ul.menu>li>ul {
	top: 100%;
	right: 0;
}

ul.menu li:hover>ul {
	display: block;
	background-color: #fff;
	box-shadow: 0 4px 4px -1px rgb(12 12 13 / .1), 0 4px 4px -1px rgb(12 12 13 / .05);
	z-index: 9999;
	border-radius: var(--border-radius);
}

ul.menu li:hover>ul>li {
	padding: 0 2rem;
	line-height: 3rem;
}

/* --------横向菜单样式 end-------- */

/* --------侧边菜单样式 start-------- */
div.slidemenu {
	position: absolute;
	left: -100%;
	top: 0;
	bottom: 0;
	width: 20rem;
	max-width: 80%;
	background-color: white;
	z-index: 99999;
	transition: left .2s;
	padding: .8rem;
}

div.slidemenu_active {
	left: 0;
}

div.slidemenu>div.menulist {
	overflow: hidden;
	overflow-y: auto;
}

div.slidemenu>div.close_button>img {
	width: 2rem;
	height: 2rem;
	opacity: .6;
	display: block;
	margin: 1rem 0;
}

div.slidemenu>div.close_button>img:hover {
	opacity: 1;
	transition: all .2s;
	box-shadow: 0 4px 4px -1px rgb(12 12 13 / .1) inset, 0 4px 4px -1px rgb(12 12 13 / .05) inset;
	cursor: pointer;
}

ul.menucontent {
	width: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 0 1rem;
}

ul.menucontent li {
	line-height: 3rem;
	text-align: right;
	align-items: right;
	display: flex;
	flex-direction: column;
	width: 90%;
	position: relative;

}

ul.menucontent li>ul {
	border: 1px solid #D9D9D9;
	display: none;
	flex-direction: column;
	align-items: center;
	border-radius: var(--border-radius);
	margin-bottom: .8rem;
}

ul.menucontent li>ul.acitve_menu {
	display: flex;
}

ul.menucontent li:has(>ul.children)::before {
	content: '';
	position: absolute;
	left: 1rem;
	top: 1.5rem;
	transform: rotate(.75turn);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 5px 5px 0;
	border-color: transparent #000 transparent transparent;
}

/*--侧边菜单样式 end--------*/

div.category_list {
	overflow-x: auto;
	padding: .8rem 0.4rem;
	gap: .4rem;
	scroll-behavior: smooth;
}

div.category_list>a {
	flex: 0 0 auto;
	margin-right: .8rem;
	text-align: center;
	border: 1px solid #D9D9D9;
	width: 6rem;
	height: 6rem;
	align-items: center;

}

div.category_list>a>img {
	width: 90%;
	height: 90%;
	margin: 5%;
}

button.arrow {
	width: 2rem;
	height: 2rem;
	position: absolute;

	top: 4.5rem;
	z-index: 999;
	background-color: #fff;
	box-shadow: 0 4px 10px rgb(37 47 63 / .1);
	transform: translateY(-50%);
	outline: 0;
	border: 1px solid gray;
	border-radius: 100%;
}

button.arrow>img {
	width: 1.2rem;
	height: 1.2rem;
	display: block;
	margin: 0 auto;
}

button.arrow_left {
	left: .6rem;
}

button.arrow_right {
	right: .6rem;
}

div.xfa>a {
	box-shadow: 0 4px 4px -1px rgb(12 12 13 / .1), 0 4px 4px -1px rgb(12 12 13 / .05);
	background: var(--color-primary);
	color: #5A5858;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: var(--border-radius);
	display: block;
	margin-right: .8rem;
	padding: 11px;
}

div.xfa>a:hover {
	transition: all .2s;
	box-shadow: 0 4px 4px -1px rgb(12 12 13 / .1) inset, 0 4px 4px -1px rgb(12 12 13 / .05) inset
}

div.container {
	display: flex;
	justify-content: end;
	align-items: stretch;
	gap: 2rem;
}

div.container>div.sidebar {
	flex:1;
}

div.container>div.cmain {
	flex:2;
}

div.daymatchs {
	background-color: rgba(233, 236, 239, 1) !important;
	margin-top: .8rem;
	max-height: 20rem;
	overflow-y: scroll
}

div.daymatchs>span.daytime {
	font-size: var(--txt-size-big);
	text-align: center;
	color: #000;
	font-weight: bold;
}

div.matchs>div.days>button {
	font-size: var(--txt-size-big);
}
div.matchs>div.days>button.active {
	background-color: var(--color-primary);
}


div.match {
	border: 1px solid #D9D9D9;
	margin: .4rem 0;
	background-color: #fff;
	padding: .4rem 2rem;
}

div.match>div.teamicon>div {
	position: relative;
	padding-top: 100%;
	width: 100%;
}

div.match>div.teamicon>div>img {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
}

div.match>div.teamscore {
	flex: auto;
}

div.match>div.teamscore>span {
	flex: auto;
	text-align: center;
	font-size: var(--txt-size-big);
}


div.match>div.teamscore>div>span.time {
	font-size: var(--txt-size-little);
	color: #705200;

}
div.match>div.teamscore>div>span.league {
	font-size: var(--txt-size-little);
	color: var(--color-primary);
	text-align: center;

}

div.sblanmu {
	margin-top: 1rem;
}

div.sblanmu>span.title {
	text-align: right;
	width: 10rem;
	align-self: flex-end;
	background: url("images/shandian.svg") no-repeat right .8rem center;
	background-size: 1rem 1rem;
	padding-right: 2.4rem;
}

.litem {
	border: 1px solid #D9D9D9;
	height: 3rem;
	line-height: 3rem;
	padding: 0 .8rem;
	text-align: right;
}
.litem > a{
	background: url("images/left_ring.svg") no-repeat left .4rem center;
	background-size: 1.4rem 1.4rem;
}

/* 文章列表主要布局样式 start */

div.posts {
	gap: 1rem;
	padding-bottom: 1rem;
}

div.posts>div.item {
	border: 1px solid #D9D9D9;
	background-color: #fff;
	padding: 1rem;
	height: 100%;
}

div.posts>div.item>div.item_info {
	width: 66%;	
}
div.posts>div.item>div.item_info>span.item_time {
	font-size: var(--txt-size-little);
	text-align: right;
	background: url("images/time.svg") no-repeat right .6rem center;
	padding-right: 2rem;
	background-size: 1rem 1rem;
}
div.posts>div.item>div.item_info>h2{
	width: 100%;
	font-size: var(--txt-size-normal);
}


div.posts>div.item>div.item_info>a.item_link{
	width: 100%;
	text-align: center;
	background: url("images/arrow_left.svg") no-repeat left 44% center;
	background-size: .8rem .8rem;
	background-color: #F9F9F9;
}
div.posts>div.item>div.item_info>p{
	color:#757575;
	width: 100%;
	height: 3rem;
}

div.posts>div.item>a.item_img {
	width: 32%;	
}

div.posts>div.item>a.item_img>img {
	object-fit: cover;
	height: 10rem;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	border-radius: var(--border-radius);
	cursor: pointer;

}
div.sidebar>div.posts{margin-top:1rem}
div.sidebar>div.posts>div.item>div.item_info>a,
div.sidebar>div.posts>div.item>div.item_info>p,
div.special>div.item>div.item_info>span.item_time{
	display: none;
}
div.sidebar>div.posts>div.item>a.item_img>img{height: 4rem;width:7rem;}


div.gridpost {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}


div.gridpost>div.item>div.item_info {
	width: 100%;	
}

div.gridpost>div.item>div.item_info>span.item_time {
	align-self: flex-start;
}
div.gridpost>div.item>div.item_info>a {
	width: 100%;
	height: auto;
	min-height:10rem;
}
div.gridpost>div.item>div.item_info>a>img {
	object-fit: cover;
	width: 100%;
	max-width: 100%;
	max-height: 100%;
	border-radius: var(--border-radius);
	cursor: pointer;
	margin:0 auto;	
	height: 12rem;
}
div.special {
    grid-template-columns: none;
}
div.special>div.item{
	background-color: var(--color-primary);
}
div.special>div.item>div.item_info>a>img{
	height:20rem;
}
div.special>div.item>div.item_info>h2>a{
	font-size:var(--txt-size-bbig);
	margin:.4rem 0;
}

  

  nav.nav  a{
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
  }
div.pagination{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}
div.pagination>a {
	background-color: var(--color-primary);
	padding: .4rem .8rem;
	border-radius: var(--border-radius);
	color: #5A5858;
	font-size: var(--txt-size-little);
}	
p.empty-message{
	text-align: center;
	margin:2rem;
	width: 100%;
}

article p > img{
	margin:1rem auto;
}

.ala{direction: rtl;}
@media (min-width: 1320px) {
	div.logo {
		height: 6rem;
	}
}

@media (max-width: 1320px) {
	div.logo {
		height: 6rem;
	}
}

@media (max-width: 1200px) {
	div.logo {
		height: 6rem;
	}

	div.menuimg>img {
		display: block;
	}

	div.navbg {
		display: none;
	}

	div.container {
		flex-direction: column;
	}

	div.sblanmu {
		display: none;
	}
	div.xpost{
		display: none;
	}
	div.bg>div.bcontent {
		width: 80%;
	}
}

@media (max-width: 1024px) {
	div.logo {
		height: 5rem;
	}
}

@media (max-width: 768px) {
	div.logo {
		height: 5rem;
	}

	div.bg>div.bcontent {
		width: 80%;
	}

	div.category_list>a {
		width: 5rem;
		height: 5rem;
		margin-right: .4rem;
		transition: all 2s;
	}

	button.arrow {
		top: 3.5rem;
	}
	div.gridpost {
		grid-template-columns: repeat(1, 1fr);
	}

}
@media (max-width: 576px){
	div.bg>div.bcontent {
		width: 100%;
	}
}
